package com.randy.recyclerviews.rangecalculator;

import android.support.v7.util.DiffUtil;

/*
 * 用于{@link android.support.v7.widget.RecyclerView.Adapter}更新数据后，计算新旧数据差异
 * Created by xudong on 2016/12/15.
 */
@Deprecated
public interface IRangeCalculator<T extends IDiffUtilHelper> {
    DiffUtil.DiffResult diffRange(IRangeCalculator<T> cal);

    boolean assignRange(IRangeCalculator<T> cal);
}